package com.service;

import com.pojo.Products;
import com.pojo.Result;
import java.util.List;

public interface ProductsService {
    Result<Void> createProduct(Products product);
    Result<Void> updateProduct(Products product);
    Result<Void> deleteProduct(Integer id);
    Result<Products> getProductById(Integer id);
    Result<List<Products>> getAllProducts();
    Result<List<Products>> getAvailableProducts();
}